package com.zkingsoft.model;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.zkingsoft.plugin.util.DateUtils;

import java.io.Serializable;
/**
 * 贷款返还
 * @date 2017-05-26 10:42
 */
public class LoanReturn implements Serializable{

	private static final long serialVersionUID = 1L; 
	

	//扩展字段
	@DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DD)
	private Date beginTime;
	@DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DD)
	private Date endTime;
	

	
	private Long  loanId;
	
	/**
	 * 已还总金额
	 * */
	private double loans;
	
	/**
	 * 未还金额
	 * */
	private double noloans;
	
	/**
	 * 已还款期数
	 * */
	private Long issue;
			
	/**
	 * 学生班级id
	 * */
	private Long stuClass;
	
	/**
	 * 学号
	 * */
	private String stuNo;
	
	/**
	 * 学生姓名
	 * */
	private String stuName;
	
	/**
	 * 班级名称
	 * */
	private String claName;
	
	/**
	 * 应交学费
	 * */
	private double payable;
	
	/**
	 * 已交学费
	 * */
	private double tInTuition;
	
	/**
	 * 未交学费
	 * */
	private double tUnTuition;
	
	/**
	 * 学生Id
	 */
	private Long  sId;
			
	
	/**
	 * 学生卡号
	 */
	private String  loanCard;
			
	
	/**
	 * 规定还款日期
	 */
	private String  loanRdate;
			
	
	/**
	 * 返还总金额
	 */
	private double  loanRamoney;
			
	
	/**
	 * 领款日期
	 */
	@DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DD)
	private Date  loanDdate;
			
	
	/**
	 * 领款金额
	 */
	private double  loanDmoney;
			
	
	/**
	 * 备注
	 */
	private String  loanRemarks;
			
	
	/**
	 * 领款人
	 */
	private String  loanPayee;
		
	
	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * 是否已还清
	 */
	private String isNot;
	
	private String  loanIsnot;
			
	/**
	 * 贷款返还子表
	 * */
	List<LoanReturn> loanList;

	public String getIsNot() {
		return isNot;
	}

	public void setIsNot(String isNot) {
		this.isNot = isNot;
	}

	public Long getStuClass() {
		return stuClass;
	}

	public void setStuClass(Long stuClass) {
		this.stuClass = stuClass;
	}

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public double getPayable() {
		return payable;
	}

	public void setPayable(double payable) {
		this.payable = payable;
	}

	public List<LoanReturn> getLoanList() {
		return loanList;
	}

	public void setLoanList(List<LoanReturn> loanList) {
		this.loanList = loanList;
	}

	public Long getLoanId() {
		return loanId;
	}
   	
   	public void setLoanId(Long loanId) {
		this.loanId=loanId;
	}
   	
	public Long getsId() {
		return sId;
	}

	public void setsId(Long sId) {
		this.sId = sId;
	}

	public String getLoanCard() {
		return loanCard;
	}

	public void setLoanCard(String loanCard) {
		this.loanCard = loanCard;
	}

	public String getLoanRdate() {
		return loanRdate;
	}
   	
   	public void setLoanRdate(String loanRdate) {
		this.loanRdate=loanRdate;
	}

	public Date getLoanDdate() {
		return loanDdate;
	}
   	
   	public void setLoanDdate(Date loanDdate) {
		this.loanDdate=loanDdate;
	}

	public double getLoanRamoney() {
		return loanRamoney;
	}

	public void setLoanRamoney(double loanRamoney) {
		this.loanRamoney = loanRamoney;
	}

	public double getLoanDmoney() {
		return loanDmoney;
	}

	public void setLoanDmoney(double loanDmoney) {
		this.loanDmoney = loanDmoney;
	}

	public String getLoanRemarks() {
		return loanRemarks;
	}
   	
   	public void setLoanRemarks(String loanRemarks) {
		this.loanRemarks=loanRemarks;
	}
   	

	public String getLoanPayee() {
		return loanPayee;
	}
   	
   	public void setLoanPayee(String loanPayee) {
		this.loanPayee=loanPayee;
	}
   	

	public String getLoanIsnot() {
		return loanIsnot;
	}
   	
   	public void setLoanIsnot(String loanIsnot) {
		this.loanIsnot=loanIsnot;
	}

	public String getClaName() {
		return claName;
	}

	public void setClaName(String claName) {
		this.claName = claName;
	}


	public double gettInTuition() {
		return tInTuition;
	}

	public void settInTuition(double tInTuition) {
		this.tInTuition = tInTuition;
	}

	public double gettUnTuition() {
		return tUnTuition;
	}

	public void settUnTuition(double tUnTuition) {
		this.tUnTuition = tUnTuition;
	}

	public double getLoans() {
		return loans;
	}

	public void setLoans(double loans) {
		this.loans = loans;
	}

	public double getNoloans() {
		return noloans;
	}

	public void setNoloans(double noloans) {
		this.noloans = noloans;
	}

	public Long getIssue() {
		return issue;
	}

	public void setIssue(Long issue) {
		this.issue = issue;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}